Optimal. Leaf size=100 \[ \frac {\sqrt {-c} \sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}} \Pi \left (\frac {b c}{a d};\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {-c}}\right )|\frac {c f}{d e}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {e+f x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.08, antiderivative size = 100, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 32, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.062, Rules used = {552, 551}
\begin {gather*} \frac {\sqrt {-c} \sqrt {\frac {d x^2}{c}+1} \sqrt {\frac {f x^2}{e}+1} \Pi \left (\frac {b c}{a d};\text {ArcSin}\left (\frac {\sqrt {d} x}{\sqrt {-c}}\right )|\frac {c f}{d e}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {e+f x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 551
Rule 552
Rubi steps
\begin {align*} \int \frac {1}{\left (a+b x^2\right ) \sqrt {c+d x^2} \sqrt {e+f x^2}} \, dx &=\frac {\sqrt {1+\frac {d x^2}{c}} \int \frac {1}{\left (a+b x^2\right ) \sqrt {1+\frac {d x^2}{c}} \sqrt {e+f x^2}} \, dx}{\sqrt {c+d x^2}}\\ &=\frac {\left (\sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}}\right ) \int \frac {1}{\left (a+b x^2\right ) \sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}}} \, dx}{\sqrt {c+d x^2} \sqrt {e+f x^2}}\\ &=\frac {\sqrt {-c} \sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}} \Pi \left (\frac {b c}{a d};\sin ^{-1}\left (\frac {\sqrt {d} x}{\sqrt {-c}}\right )|\frac {c f}{d e}\right )}{a \sqrt {d} \sqrt {c+d x^2} \sqrt {e+f x^2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 2.25, size = 101, normalized size = 1.01 \begin {gather*} -\frac {i \sqrt {1+\frac {d x^2}{c}} \sqrt {1+\frac {f x^2}{e}} \Pi \left (\frac {b c}{a d};i \sinh ^{-1}\left (\sqrt {\frac {d}{c}} x\right )|\frac {c f}{d e}\right )}{a \sqrt {\frac {d}{c}} \sqrt {c+d x^2} \sqrt {e+f x^2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 118, normalized size = 1.18
method | result | size |
default | \(\frac {\EllipticPi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right ) \sqrt {\frac {f \,x^{2}+e}{e}}\, \sqrt {\frac {d \,x^{2}+c}{c}}\, \sqrt {f \,x^{2}+e}\, \sqrt {d \,x^{2}+c}}{a \sqrt {-\frac {d}{c}}\, \left (d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e \right )}\) | \(118\) |
elliptic | \(\frac {\sqrt {\left (d \,x^{2}+c \right ) \left (f \,x^{2}+e \right )}\, \sqrt {1+\frac {d \,x^{2}}{c}}\, \sqrt {1+\frac {f \,x^{2}}{e}}\, \EllipticPi \left (x \sqrt {-\frac {d}{c}}, \frac {b c}{a d}, \frac {\sqrt {-\frac {f}{e}}}{\sqrt {-\frac {d}{c}}}\right )}{\sqrt {d \,x^{2}+c}\, \sqrt {f \,x^{2}+e}\, a \sqrt {-\frac {d}{c}}\, \sqrt {d f \,x^{4}+c f \,x^{2}+d e \,x^{2}+c e}}\) | \(133\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a + b x^{2}\right ) \sqrt {c + d x^{2}} \sqrt {e + f x^{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{\left (b\,x^2+a\right )\,\sqrt {d\,x^2+c}\,\sqrt {f\,x^2+e}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________